package  com.NeuglsWorkStudio.UI.Buttons
{
	
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	import spark.components.Button;

	public class TActionButton extends spark.components.Button
	{
		private var _FTag:Number=-1;
		private var _FCaption:String="";
		public function TActionButton(ACaption:String="")
		{
			
			super();
			this.label=ACaption;
			_FCaption=ACaption;
			this.addEventListener(Event.ADDED_TO_STAGE,FOnAddToStage);
		}

		public function get Caption():String
		{
			return _FCaption;
		}

		public function set Caption(value:String):void
		{
			_FCaption = value;
			this.label=value;
		}

		public function get Tag():Number
		{
			return _FTag;
		}

		public function set Tag(value:Number):void
		{
			_FTag = value;
		}
		
		
		protected function FOnAddToStage(Evnt:Event):void{
		}

	}
}